package com.rockcent.mall.lib.repository;

import com.rockcent.common.common.PageResult;
import com.rockcent.common.domain.enumclass.Whether;
import com.rockcent.mall.lib.domain.MerchantStore;
import com.rockcent.mall.lib.domain.enumclass.MerchantStoreStatus;
import com.rockcent.mall.lib.dto.MerchantStoreDto;

import java.util.List;

/**
 * Created by DK on 16/10/9.
 */
public interface MerchantStoreRepositoryCustom {

    PageResult findByMerchantIdPage(Long merchantId, Long mallId, Whether exchange, String isEnable, String type, Whether isDelete, String name, List<Long> locationIds, PageResult pageResult);

    MerchantStoreDto getMerchantStoreById(Long id);

    List<MerchantStore> findProductStoreList(Long productId, Long merchantId);

    List<MerchantStore> findCustomerCouponMerchantStore(Long couponId);

    List<MerchantStoreDto> findMerchantStoresList(Long merchantId, Whether exchange, MerchantStoreStatus status, Whether isDelete);

}
